<?php

namespace App\Repositories;

use App\Models\StaffOrg;
use InfyOm\Generator\Common\BaseRepository;

/**
 * Class StaffOrgRepository
 * @package App\Repositories
 * @version December 8, 2018, 7:56 pm CST
 *
 * @method StaffOrg findWithoutFail($id, $columns = ['*'])
 * @method StaffOrg find($id, $columns = ['*'])
 * @method StaffOrg first($columns = ['*'])
*/
class StaffOrgRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'name',
        'fee_annual',
        'fee_annual_oversize',
        'fee_monthly',
        'fee_monthly_oversize',
        'parent_id'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return StaffOrg::class;
    }
}
